<%-- 
    Document   : addCorporateCustomerEvent
    Created on : Jan 14, 2014, 1:15:20 PM
    Author     : santosh
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../common/script.jsp" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <%@include file="../common/title.jsp" %>
        <script type="text/javascript">
            $(function(){
                $('#scheduleEventT1').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT2').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT3').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT4').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT5').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT6').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT7').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT8').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT9').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT10').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT11').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT12').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT13').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT14').datepicker({dateFormat: 'm-d-y'});
                $('#scheduleEventT15').datepicker({dateFormat: 'm-d-y'});
            });

        </script>
    </head>
    <body>
        <%@include file="../common/header.jsp" %>
        <%@include file="../common/menu.jsp" %>
        <div class="in_02">
            <%@include file="../common/message.jsp" %>
            <form:form id="form1" name="form1" commandName="customerEvent" action="addCorporateCustomerEvent.htm" method="POST">
                <fieldset>
                    <legend><spring:message code="title.addCorporateCustomerEvent"/></legend>
                    <table class="formTable">
                        <tr>
                            <td>Event1 Date<br/>
                                <%--<form:input path="scheduleEvent1" cssClass="UserInputMedium"/>--%>
                                <input id="scheduleEventT1" name="scheduleEventT1" value="<fmt:formatDate value="${customerEvent.scheduleEvent1}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event1 Description<br/><form:input path="event1.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event1.eventId"/></td>
                            <td>Event1 Status<br/><form:select path="status1" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                            <td>&nbsp;</td>
                            <td>Event2 Date<br/>
                                <input id="scheduleEventT2" name="scheduleEventT2" value="<fmt:formatDate value="${customerEvent.scheduleEvent2}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event2 Description<br/><form:input path="event2.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event2.eventId"/></td>
                            <td>Event2 Status<br/><form:select path="status2" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                        </tr>
                        <tr>
                            <td>Event3 Date<br/>
                                <input id="scheduleEventT3" name="scheduleEventT3" value="<fmt:formatDate value="${customerEvent.scheduleEvent3}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event3 Description<br/><form:input path="event3.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event3.eventId"/></td>
                            <td>Event3 Status<br/><form:select path="status3" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                            <td>&nbsp;</td>
                            <td>Event4 Date<br/>
                                <input id="scheduleEventT4" name="scheduleEventT4" value="<fmt:formatDate value="${customerEvent.scheduleEvent4}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event4 Description<br/><form:input path="event4.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event4.eventId"/></td>
                            <td>Event4 Status<br/><form:select path="status4" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                        </tr>
                        <tr>
                            <td>Event5 Date<br/>
                                <input id="scheduleEventT5" name="scheduleEventT5" value="<fmt:formatDate value="${customerEvent.scheduleEvent5}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event5 Description<br/><form:input path="event5.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event5.eventId"/></td>
                            <td>Event5 Status<br/><form:select path="status5" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                            <td>&nbsp;</td>
                            <td>Event6 Date<br/>
                                <input id="scheduleEventT6" name="scheduleEventT6" value="<fmt:formatDate value="${customerEvent.scheduleEvent6}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event6 Description<br/><form:input path="event6.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event6.eventId"/></td>
                            <td>Event6 Status<br/><form:select path="status6" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                        </tr>
                        <tr>
                            <td>Event7 Date<br/>
                                <input id="scheduleEventT7" name="scheduleEventT7" value="<fmt:formatDate value="${customerEvent.scheduleEvent7}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event7 Description<br/><form:input path="event7.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event7.eventId"/></td>
                            <td>Event7 Status<br/><form:select path="status7" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                            <td>&nbsp;</td>
                            <td>Event8 Date<br/>
                                <input id="scheduleEventT8" name="scheduleEventT8" value="<fmt:formatDate value="${customerEvent.scheduleEvent8}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event8 Description<br/><form:input path="event8.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event8.eventId"/></td>
                            <td>Event8 Status<br/><form:select path="status8" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                        </tr>
                        <tr>
                            <td>Event9 Date<br/>
                                <input id="scheduleEventT9" name="scheduleEventT9" value="<fmt:formatDate value="${customerEvent.scheduleEvent9}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event9 Description<br/><form:input path="event9.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event9.eventId"/></td>
                            <td>Event9 Status<br/><form:select path="status9" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                            <td>&nbsp;</td>
                            <td>Event10 Date<br/>
                                <input id="scheduleEventT10" name="scheduleEventT10" value="<fmt:formatDate value="${customerEvent.scheduleEvent10}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event10 Description<br/><form:input path="event10.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event10.eventId"/></td>
                            <td>Event10 Status<br/><form:select path="status10" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                        </tr>
                        <tr>
                            <td>Event11 Date<br/>
                                <input id="scheduleEventT11" name="scheduleEventT11" value="<fmt:formatDate value="${customerEvent.scheduleEvent11}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event11 Description<br/><form:input path="event11.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event11.eventId"/></td>
                            <td>Event11 Status<br/><form:select path="status11" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                            <td>&nbsp;</td>
                            <td>Event12 Date<br/>
                                <input id="scheduleEventT12" name="scheduleEventT12" value="<fmt:formatDate value="${customerEvent.scheduleEvent12}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event12 Description<br/><form:input path="event12.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event12.eventId"/></td>
                            <td>Event12 Status<br/><form:select path="status12" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                        </tr>
                        <tr>
                            <td>Event13 Date<br/>
                                <input id="scheduleEventT13" name="scheduleEventT13" value="<fmt:formatDate value="${customerEvent.scheduleEvent13}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event13 Description<br/><form:input path="event13.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event13.eventId"/></td>
                            <td>Event13 Status<br/><form:select path="status13" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                            <td>&nbsp;</td>
                            <td>Event14 Date<br/>
                                <input id="scheduleEventT14" name="scheduleEventT14" value="<fmt:formatDate value="${customerEvent.scheduleEvent14}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event14 Description<br/><form:input path="event14.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event14.eventId"/></td>
                            <td>Event14 Status<br/><form:select path="status14" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                        </tr>
                        <tr>
                            <td>Event15 Date<br/>
                                <input id="scheduleEventT15" name="scheduleEventT15" value="<fmt:formatDate value="${customerEvent.scheduleEvent15}" pattern="MM-dd-yy"/>" class="userInputMedium"/>
                            </td>
                            <td>Event15 Description<br/><form:input path="event15.eventDescription" readonly="true" cssClass="UserInputLarge"/>
                                <form:hidden path="event15.eventId"/></td>
                            <td>Event15 Status<br/><form:select path="status15" cssClass="userInputMedium">
                                    <form:option value="0">Not yet</form:option>
                                    <form:options items="${eventStatusList}" itemLabel="eventStatusDescription" itemValue="eventStatusId"></form:options>
                                </form:select></td>
                            <td>&nbsp;</td>
                            <td><input type="button" id="btnBack" name="btnBack" value="Back" onclick="document.location.href='../corporate/backToAddCorporateCustomer.htm'" class="userInputFormSubmit"/></td>
                            <td><input type="submit" id="btnSave" name="btnSave" value="Save" class="userInputFormSubmit"/></td>
                        </tr>
                        <spring:hasBindErrors name="customerEvent">
                            <div class="error">
                                <form:errors path="*"/>
                            </div>
                        </spring:hasBindErrors>
                    </table>
                </fieldset>
            </form:form>
        </div>
    </body>
</html>
